interface User{
    id:number,
    phone:number,
    name:string
}
type userInfo=keyof User;
type userInfoType=User[userInfo];

class Token{
    private secret:string|undefined;
    public access:number=0;
}
type tokenInfo=keyof Token;
type tokenInfoType=Token[tokenInfo];
type secret=Token['secret'];
